import type {
  WorkbenchQuickNavItem,
  WorkbenchTrendItem,
} from '@vben/common-ui';

// 同样，这里的 url 也可以使用以 http 开头的外部链接
export const quickNavItems: WorkbenchQuickNavItem[] = [
  {
    title: 'OBD终端',
    icon: 'ion:home-outline',
    color: '#1fdaca',
    url: 'http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=1',
  },
  {
    title: 'BMS电池管控',
    icon: 'ion:grid-outline',
    color: '#bf0c2c',
    url: 'http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=6',
  },
  {
    title: '车载终端',
    icon: 'ion:layers-outline',
    color: '#e18525',
    url: 'http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=2',
  },
  {
    title: '智能锁',
    icon: 'ion:key-outline',
    color: '#4daf1bc9',
    url: 'http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=17',
  },
  {
    title: '物联云控器',
    icon: 'ion:bar-chart-outline',
    color: '#00d8ff',
    url: 'http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=5',
  },
];

export const trendItems: WorkbenchTrendItem[] = [
  {
    percent: 100,
    name: 'OBD新升级 V1.02已发布',
    date: '2025年10月20日',
    desc: `<a target="_blank" href="http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=1">依赖更新与体验增强双加持</a>`,
  },
  {
    percent: 100,
    name: 'BMS V5.6.0 已发布',
    date: '2025年10月8日',
    desc: `<a target="_blank" href="http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=6">他升级了这些功能...</a>`,
  },
  {
    percent: 100,
    name: '车载终端 V1.1.0',
    date: '2025年08月25日',
    desc: `<a target="_blank" href="http://www.skynetm2m.com/index.php?app=Products&c=Cate&id=2">解决方案...</a>`,
  },
];
